#define _CRT_SECURE_NO_WARNINGS 1

#include<assert.h>
#include<stdio.h>
#include<string.h>

//int main()
//{
//	int a = 1;
//	printf("%d", a % 3);
//	return 0;
//}


//int strlen(char* str)
//{
//	assert(str);
//	int len = 0;
//	while (*str++ != '\0')
//	{
//		len++;
//	}
//	return len;
//}


//int main()
//{
//	int arr1[] = { 1,2,3,4,5 };
//	char arr2[] = { 'a','b','c','d','e' };
//	char arr3[] = "abcdef";
//	printf("%d\n", (unsigned int)strlen(arr2));
//	printf("%d\n", (unsigned int)strlen(arr3));
//
//	return 0;
//}


//int main()
//{
//	char arr1[] = { 'a','b','c','d','e','f' };
//	char arr2[] = "abcdef";
//	printf("%d\n", (unsigned)sizeof(arr1));
//	printf("%d\n", (unsigned)sizeof(arr2));
//	return 0;
//}


//int main()
//{
//	int a = 10;
//	printf("%d\n", (unsigned)sizeof(a));
//	printf("%d\n", (unsigned)sizeof a);
//	printf("%d\n", (unsigned)sizeof(int));
//	int arr[10] = {0};
//	printf("%d\n", (unsigned)sizeof arr);
//	printf("%d\n", (unsigned)sizeof(arr));
//	printf("%d\n", (unsigned)sizeof(int[10]));
//}


int main()
{
	int arr[] = { 1,2,3,4,5,6 };
	int len = sizeof(arr)/sizeof(arr[0]);
	printf("%d\n", len);
	return 0;
}